<th:block th:fragment="top">
<div class="fly-panel-title fly-filter">
	<a>置顶</a>
	<!--<a href="#signin" class="layui-hide-sm layui-show-xs-block fly-right" id="LAY_goSignin" style="color: #FF5722;">去签到</a>-->
</div>
<ul class="fly-list">
	<li th:each="card : ${ cardList }" th:if="${card.cardTop==2}">
		<a th:href="${'/user/username/'+card.user.username}" href="user/home.html" class="fly-avatar">
			<img th:src="${card.user.userImage}" th:alt="${card.user.username}" src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt="贤心">
		</a>
		<h2>
			<a class="layui-badge" th:text="${card.cardType.cardTypeName}">动态</a>
			<a  th:href="${'/jie/detail/'+card.cardId}" href="jie/detail.html" th:text="${card.cardTitle}">基于 layui 的极简社区页面模版</a>
		</h2>
		<div class="fly-list-info">
			<a th:href="${'/user/username/'+card.user.username}" href="user/home.html" link>
				<cite th:text="${card.user.username}">贤心</cite>
			</a>
			<span th:text="${#temporals.format(card.cardCreateTime, 'yyyy/MM/dd HH:mm')}">刚刚</span>

			<span th:if="${card.cardUnfinished == 1}">
				<span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>
			</span>

			<span class="fly-list-nums">
				<i class="iconfont icon-pinglun1" title="回答"></i>
				<span th:text="${card.cardAnswerNumber}">66</span>
			</span>
		</div>
		<div class="fly-list-badge">
			<span th:if="${card.cardEssence == 2}">
				<span class="layui-badge layui-bg-red">精帖</span>
			</span>
			<span th:if="${card.cardTop == 2}">
				<span class="layui-badge layui-bg-black">置顶</span>
			</span>
		</div>
	</li>
</ul>
</th:block>